import numpy as np
x=np.array([[1,2,3,4,5,6],[2,3,4,5,6,7],[3,4,5,6,7,8],[4,5,6,7,8,9],[5,6,7,8,9,0]])
rowx=x.shape[0]
colx=x.shape[1]
y=np.zeros((rowx+2,colx+2),dtype=int)
i=1
while i<=rowx:
    y[i,1:colx+1]=x[i-1]
    i+=1
print(y)
